package com.icehand.attack.demo.controller;

import com.alibaba.fastjson.JSON;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/demo")
@RestController
public class DemoController {
    @RequestMapping("/fastjson/1.2.59/attack")
    public Object attack(@RequestParam("m") String m){
        return JSON.parse(m);
    }
}
